package com.blog.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.blog.domain.ResponseResult;
import com.blog.domain.entity.Menu;
import com.blog.domain.vo.MenuVo;

import java.util.List;

/**
 * 菜单权限表(Menu)表服务接口
 *
 * @author makejava
 * @since 2024-09-11 14:20:26
 */
public interface MenuService extends IService<Menu> {
	List<String> selectPermByUserId(Long userid);

	List<Menu> selectRouterMenuTreeByUserId(Long userId);

	List<Menu> menuList(String status, String menuName);

	ResponseResult addMenu(Menu menu);

	ResponseResult getMenuDetailById(Long id);

	ResponseResult updateMenu(Menu menu);

	ResponseResult deleteMenu(Long menuId);
}
